package me.firstapp.service.weixin.account;

import java.math.BigDecimal;
import java.util.List;

import me.firstapp.module.weixin.jinbi.JinBiAccount;
import me.firstapp.module.weixin.jinbi.JinBiAccountTrace;
import me.firstapp.module.weixin.jinbi.JinBiAccountTrace.ChangeType;

public interface JinBiAccountService {

	JinBiAccount findById(Long id);

	JinBiAccount findJinBiAccountByCardNoAndOpenId(String cardNo, String openId);

	JinBiAccountTrace executeTzJinBiAccount(Long id, ChangeType changeType, BigDecimal tzValue);

	JinBiAccountTrace executeTzJinBiAccount(JinBiAccount jinBiAccount, ChangeType changeType, BigDecimal tzValue);

	List<JinBiAccount> findJinBiAccountsForRank(int limitCount);
}
